package com.njit.mailm.core.service;

import com.njit.mailm.core.bean.MessageWrap;
import com.njit.mailm.core.bean.User;

import java.util.List;

public interface UserService {
	public void saveUser(User user) throws Exception;

	/**
	 * username对应得password是否一致
	 */
	public User comparePwd(User user);

	public void setAuth(String username) throws Exception;
	
	public User getUserByUsername (String username);


}
